Skip to content

Enable Row Level Security on all tables#5

Merged
Differ3nce merged 3 commits intomainfrom
fix/enable-rls
Feb 25, 2026
Merged

Enable Row Level Security on all tables#5
Differ3nce merged 3 commits intomainfrom
fix/enable-rls

Conversation

@Differ3nce
Copy link
Copy Markdown
Owner

Summary

  • Enables Row Level Security on all 12 tables, resolving Supabase's "RLS Disabled in Public" security warnings
  • No policies are added — this locks out Supabase's anon/authenticated roles from direct REST API access while leaving Prisma (postgres superuser) unaffected
  • Applied automatically via prisma migrate deploy on deploy

Test plan

  • Deployment succeeds and migration applies cleanly
  • App works normally (Prisma bypasses RLS)
  • Supabase security warnings cleared

🤖 Generated with Claude Code

Differ3nce and others added 2 commits February 25, 2026 20:48
Locks out Supabase anon/authenticated roles from direct REST API access.
The app connects via the postgres superuser through Prisma, which bypasses
RLS, so existing behaviour is unchanged.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel bot commented Feb 25, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
platformengineerintoolkit Ready Ready Preview, Comment Feb 25, 2026 7:54pm

The previous migration was already applied to preprod without this table,
so a new migration is needed to cover it on all environments.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@Differ3nce Differ3nce merged commit 464d71b into main Feb 25, 2026
2 of 3 checks passed
@Differ3nce Differ3nce deleted the fix/enable-rls branch February 25, 2026 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant